package com.woniu.his.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author TATO
 * @since 2019-11-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class HospitalizationInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 住院信息id
     */
    @TableId(value = "hospitalization_id", type = IdType.AUTO)
    private Integer hospitalizationId;

    /**
     * 就诊信息id
     */
    private Integer medicalId;

    /**
     * 住院类型id
     */
    private String hospitalizationType;

    /**
     * 所属科室id
     */
    private Integer sectionId;

    /**
     * 病房id
     */
    private Integer wardId;

    /**
     * 病床id
     */
    private Integer sickbedId;

    /**
     * 住院日期
     */
    private Date hospitalizationTime;

    /**
     * 住院时长
     */
    private Integer hospitalizationDate;

    /**
     * 是否缴费
     */
    private Integer isPay;

    /**
     * 是否执行
     */
    private Integer status;

    /**
     * 是否出院
     */
    private Integer isOut;

    /**
     * 出院日期
     */
    private Date outTime;


}
